package org.liuping.mapper;

import org.apache.ibatis.annotations.Param;
import org.liuping.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author liupi
* @description 针对表【t_users】的数据库操作Mapper
* @createDate 2023-03-30 11:28:54
* @Entity org.liuping.entity.UsersEntity
*/
public interface UserMapper extends BaseMapper<UserEntity> {

    //登录比对数据库
    UserEntity loginIn(@Param("account") String account);

    //判断用户是否存在
    Long userExist(@Param("username") String username, @Param("email") String email);
}




